package Menu.Controller
{
	import Menu.View.LoginSkin;
	
	import Utils.CustomEvent;
	import Utils.EventBus;
	import Utils.Vars;
	
	import adobe.utils.CustomActions;
	
	import spark.components.SkinnableContainer;

	/**
	 * 
	 */
	public class LoginCtrl extends SkinnableContainer
	{
		/**
		 * 
		 */
		public function LoginCtrl()
		{
			super();
			setStyle("skinClass", LoginSkin);
		}
		
		
		/**
		 * 
		 */
		public function clickHandler_login():void
		{
			EventBus.instance.dispatchEvent(new CustomEvent(EventBus.CHANGE_PAGE, {from:Vars.PAGE_LOGIN, to:Vars.PAGE_LOBBY}));
		}
		
	} // ! Class
}